import 'package:json_annotation/json_annotation.dart';

part 'create_room_call_back.g.dart';

@JsonSerializable()
class CreateRoomCallBack {
  @JsonKey(defaultValue: 0)
  final int status;
  @JsonKey(defaultValue: '')
  final String message;
  @JsonKey(defaultValue: '')
  final String data;

  CreateRoomCallBack({
    required this.status,
    required this.message,
    required this.data,
  });

  factory CreateRoomCallBack.fromJson(Map<String, dynamic> json) =>
      _$CreateRoomCallBackFromJson(json);

  Map<String, dynamic> toJson() => _$CreateRoomCallBackToJson(this);
}
